FROM golang


WORKDIR src/charon

COPY / .

RUN export GOPROXY=https://goproxy.io &&  go mod tidy


CMD go build -o charon main.go && ./charon